@import "common.styl"
@import "vars.styl"


.list
  padding px2rem(15px)
  .row
    padding 0 px2rem(7px)
  .col-xs-6
    padding-left px2rem(7px)
    padding-right px2rem(7px)
  .new-item
    height px2rem(280px)
    margin-bottom px2rem(15px)
    padding px2rem(10px)
    box-shadow 0 0 px2rem(10px) 0 rgba(190,190,190,0.6)
    .new-img
      text-align center
      height px2rem(150px)
      line-height px2rem(150px)
      img
        width 100%
        height 100%
        object-fit cover
    .new-title
      padding px2rem(10px) 0
      font-size px2rem(16x)
      text-overflow ellipsis
      overflow hidden
      white-space nowrap

    .new-desc
      font-size px2rem(14px)
      line-height 1.7
      color #666
      text-overflow ellipsis
      overflow hidden
      display -webkit-box
      -webkit-line-clamp 2
      -webkit-box-orient vertical
      height px2rem(50px)

    .new-date
      font-size px2rem(12px)
      text-align right
      margin-top px2rem(10px)